﻿@model PlmPersonnelAttendanceViewModel
@{
    Layout = null;
    ViewBag.Title = "人员考勤-编辑";
}
<script type="text/javascript">
    function dialogRefresh(json) {
        DWZ.ajaxDone(json);
        if (json.statusCode == DWZ.statusCode.ok) {
            $("#pagerForm", navTab.getCurrentPanel()).submit();
            $.pdialog.closeCurrent();
        }
    }
</script>
<h2 class="contentTitle">人员信息</h2>
<form method="post" action="@Url.Action("PersonnelAttendanceEditData", "PlmPersonnelAttendance")" class="pageForm required-validate" onsubmit="return validateCallback(this,dialogRefresh)">
     <div class="pageContent">
        <div class="pageFormContent sortDrag" layouth="97">
              @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_ID, new { @type = "hidden" })
             @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_Date, new { @type = "hidden" })
            <dl>
                <dt style="text-align:right">所属单位：</dt>
                <dd>
                    @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_UnitName, new {@readonly="readonly",@size="30px" })
                </dd>
            </dl>
             <dl>
                <dt style="text-align:right">合同段：</dt>
                <dd>
                    @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_UnitCode, new {@readonly="readonly",@size="30px" })
                </dd>
            </dl>
             <dl>
                <dt style="text-align:right">姓名：</dt>
                <dd>
                    @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_PersonnelName, new {@readonly="readonly"})
                </dd>
            </dl>
            <dl>
                 <dt style="text-align:right">工号：</dt>
                <dd>
                    @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_JobNum, new {@readonly="readonly"})
                </dd>
            </dl>
             <dl>
                 <dt style="text-align:right">应出勤天数：</dt>
                <dd>
                    @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_WorkDay, new {@readonly="readonly"})
                </dd>
            </dl>
             <dl>
                 <dt style="text-align:right">出勤天数：</dt>
                <dd>
                    @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_AttendanceDay, new {@readonly="readonly"})
                </dd>
            </dl>
             <dl>
                 <dt style="text-align:right">缺勤天数：</dt>
                <dd>
                    @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_AbsenceDay, new {@readonly="readonly"})
                </dd>
            </dl>
             <dl>
                 <dt style="text-align:right">请假天数：</dt>
                <dd>
                    @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_LeaveDay, new {@readonly="readonly"})
                </dd>
            </dl>
             <dl>
                 <dt style="text-align:right">请假记录：</dt>
                <dd>
                    @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_LeaveRecord, new {@readonly="readonly"})
                </dd>
            </dl>
             <dl>
                 <dt style="text-align:right">罚款金额：</dt>
                <dd>
                    @Html.TextBoxFor(model => model.PersonnelAttendancelInfo.PA_Fine)
                </dd>
            </dl>
  
        </div>
          <div class="formBar">
            <ul>
               <li>
                        <button type="submit" class="btn btn-sm">保存</button>
                    </li>
                <li>
                    <button type="button" class="close btn btn-default btn-sm">取消</button>
                </li>
            </ul>
        </div>       
    </div>
   
</form>
